
options nocenter obs=max compress=yes mprint validvarname=any;

libname raw 'H:\rawdata\704351';
libname survey 'H:\rawdata\704351\Epinion';
libname formater 'D:\Formater\forskerformater';
libname home 'J:\Workdata\704351\Amalie\Networks\JOP Publication Files\Data';

* Survey 2010;
data home.survey2010;
set survey.sp_capacent_702487_sas;
run;

* Survey 2011;
data home.survey2011;
set survey.epinion_702487_2011;
run;

* Survey 2012;
data home.survey2012;
set survey.epinion_702487_2012;
run;

* Survey 2013;
data home.survey2013;
set survey.sp_2013_epinion;
run;


proc export data=home.survey2010 outfile='J:\Workdata\704351\Amalie\Networks\JOP Publication Files\Data\survey2010.dta' replace; run;
proc export data=home.survey2011 outfile='J:\Workdata\704351\Amalie\Networks\JOP Publication Files\Data\survey2011.dta' replace; run;
proc export data=home.survey2012 outfile='J:\Workdata\704351\Amalie\Networks\JOP Publication Files\Data\survey2012.dta' replace; run;
proc export data=home.survey2013 outfile='J:\Workdata\704351\Amalie\Networks\JOP Publication Files\Data\survey2013.dta' replace; run;

